package com.eastseeway.radioproject.entities;

import struct.StructClass;
import struct.StructField;

@StructClass
public class BeanOfVersionInfo {

    @StructField(order = 0)
    private byte[] firmware_name = new byte[20]; // 24 字节 软件名称
    @StructField(order = 1)
    private byte[] hardware_ver = new byte[12];  // 12 字节 硬件件版本号
    @StructField(order = 2)
    private byte[] software_ver = new byte[12];  // 12 字节 软件版本号
    @StructField(order = 3)
    private byte[] compile_time = new byte[20];  // 24 字节 软件编译日期+时间

    public byte[] getFirmware_name() {
        return firmware_name;
    }

    public void setFirmware_name(byte[] firmware_name) {
        this.firmware_name = firmware_name;
    }

    public byte[] getHardware_ver() {
        return hardware_ver;
    }

    public void setHardware_ver(byte[] hardware_ver) {
        this.hardware_ver = hardware_ver;
    }

    public byte[] getSoftware_ver() {
        return software_ver;
    }

    public void setSoftware_ver(byte[] software_ver) {
        this.software_ver = software_ver;
    }

    public byte[] getCompile_time() {
        return compile_time;
    }

    public void setCompile_time(byte[] compile_time) {
        this.compile_time = compile_time;
    }
}
